import { ready } from '@/lib/utils';
import * as tocbot from 'tocbot';

(function () {
    ready(() => {
        tocbot.init({
            tocSelector: '#toc',
            contentSelector: '#article',
            headingSelector: 'h1, h2, h3',
        });
    });
})();
